package pg.testes;

import javax.swing.JFrame;
import javax.swing.UIManager;

class Main extends JFrame {

	public static void main(String[] args) {

		try {
			UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
		} catch (Exception e) {
			System.err.println("Error: " + e);
		}

		JFrame main = new JFrame();
		main.setSize(800, 600);
		main.setResizable(false);
		MainPanel panel = new MainPanel();
		main.setContentPane(panel);
		main.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		main.setLocationRelativeTo(null);
		main.setVisible(true);
	}

}
